﻿#region Using region
using System;
using System.Collections.Generic;
using System.Collections;
using System.Threading;
using System.Collections.Specialized;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Storage;
using Microsoft.Xna.Framework.GamerServices;


using JigLibX.Physics;
using JigLibX.Collision;
using JigLibX.Geometry;
using JigLibX.Math;
using JigLibX.Utils;
using sqengine.PhysicObjects;
using JigLibX.Vehicles;
using System.Diagnostics;



using sqengine.Engine;
using sqengine.Components;
using sqengine.Engine.Common;

using SqEngine.Components;
using SqEngine.Audio;
using SqEngine;


using PK3Model;
#endregion

namespace sqengine
{

    // Public interfaces for mediaplayer
    partial class sqengine : Microsoft.Xna.Framework.Game
    {
        public void MediaPlayerPopulateMP3(string dir)
        {
            mediaplayer_sys.Populate(dir);

        }

        public void MediaPlayerPlay()
        {
            mediaplayer_sys.Play();
        }

        public void MediaPlayerNext()
        {
            mediaplayer_sys.NextSong(true);
        }

        public void MediaPlayerBack()
        {
            mediaplayer_sys.BackSong(true);
        }

        public void MediaPlayerStop()
        {
            mediaplayer_sys.Stop();
        }

        public void MediaPlayerEnableRandom(bool state)
        {
            mediaplayer_sys.RandomEnabled(state);

        }

    }
}
